package com.jnzc.ocr.serv.shop.api;

import com.jnzc.ocr.serv.shop.entity.ShopOrder;
import com.jnzc.ocr.serv.shop.entity.ShopOrderRecharge;
import com.jnzc.ocr.serv.shop.vo.ShopOrderRechargeCreateVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author zhangcm
 * @version 1.0, 2017-10-06
 */
@FeignClient("serv-shop")
@RequestMapping("/shopOrderRechargeApi")
public interface ShopOrderRechargeApi {

    @PostMapping("/find")
    ShopOrderRecharge find(@RequestParam("orderId") Long orderId);

    @PostMapping("/save")
    ShopOrder create(@RequestBody ShopOrderRechargeCreateVo createVo);
	
}
